package com.woniu.car.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.car.dto.TProcessDto;
import com.woniu.car.entity.TProcess;
import com.woniu.car.param.TProcessParam;
import com.woniu.car.param.TProcessUpdateParam;

import java.util.List;

/**
 * <p>
 * 服务流程表 服务类
 * </p>
 *
 * @author *********
 * @since 2021-06-21
 */
public interface TProcessService extends IService<TProcess> {

    public TProcessDto insert(TProcessParam tProcessParam, Integer id) throws Exception;

    public TProcessDto update(TProcessUpdateParam tProcessUpdateParam, Integer id) throws Exception;

    public TProcessDto delete(Integer processId, Integer id) throws Exception;

    public List<TProcessDto> queryByService(Integer serviceId) throws Exception;
}
